﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using LTQT.Models;

namespace LTQT.Data
{
    public class LTQTContext : DbContext
    {
        public LTQTContext (DbContextOptions<LTQTContext> options)
            : base(options)
        {
        }

        public DbSet<LTQT.Models.User> User { get; set; }
        public DbSet<LTQT.Models.Answer_Question> Answer_Question { get; set; }
        public DbSet<LTQT.Models.Answer_Quiz> Answer_Quiz { get; set; }
        public DbSet<LTQT.Models.Extension_Relation> Extension_Relation { get; set; }
        public DbSet<LTQT.Models.Question> Question { get; set; }
        public DbSet<LTQT.Models.Question_Quiz> Question_Quiz { get; set; }
        public DbSet<LTQT.Models.Quiz> Quiz { get; set; }
        public DbSet<LTQT.Models.Question_Option> Question_Option { get; set; }
    }
}
